<?php

class topc_controller
{
    public $platform = 'pc';

    /**
     * 控制器指定的布局标识, 会调取用户配置, 以决定最终应用的布局.
     */
    private $layoutFlag = 'default';

    public function __construct()
    {
        theme::setIcon(app::get('topc')->res_url . '/favicon.ico');
    }

    protected function setLayoutFlag($layoutFlag)
    {
        $this->layoutFlag = $layoutFlag;
    }
}